micro_utils.dokka
0.15.0
jvm
micro_utils.dokka
/
dev.inmo.micro_utils.selector
/
[jvm]SingleSelector
/
SingleSelector
Single
Selector
jvm
fun
<
T
>
SingleSelector
(
selectedItem
:
T
?
=
null
,
safeChanges
:
Boolean
=
true
)
Parameters
safe
Changes
Set to false to disable using of
mutex
for synchronizing changes on
toggleSelection